package com.jy.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 购物车商品
 * </p>
 *
 * @author fzg
 * @since 2024-11-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CartGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 购物车的aid
     */
    private Long cartAid;

    /**
     * 购物车-商品  aid
     */
    @TableId(value = "aid", type = IdType.AUTO)
    private Long aid;

    /**
     * 商品aid
     */
    private Long goodsAid;

    /**
     * 商品款式aid
     */
    private Long goodsStyleAid;

    /**
     * 购物车购买款式数量
     */
    private Integer count;


}
